package com.trafficsys.modules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 违规条例
 */
@Data//lombok生成get set方法
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Rule extends Page {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String ruleName;//交规名
    private Integer money;//罚款数额
    private Integer cutScore;//扣分数额
}
